package com.dongdongshop.service;

import com.dongdongshop.pojo.TbGoods;
import com.dongdongshop.pojo.TbGoodsDesc;
import com.dongdongshop.pojo.TbGoodsVo;
import com.dongdongshop.pojo.TbItem;
import com.dongdongshop.util.PageBean;

import java.util.List;

public interface GoodsService {
    Integer addinfo(TbGoods tbGoods, TbGoodsDesc tbGoodsDesc, TbItem tbItem,String OptionString);

    PageBean<TbGoodsVo> getinfo(Integer number, Integer pageSize,String sname);

    Integer deleteAll(Long[] ids);

    Integer getSuccess(Long[] ids);

    Integer getBack(Long[] ids);

    PageBean<TbGoodsVo> getinfoSeller(Integer number, Integer pageSize, String status, String sname,String sellerId);

    Integer goGo(Long[] ids);

    TbGoods getById(Long goodsId);

    TbGoodsVo getItemName(Long goodsId);
}
